package com.nuedu.corejava.ch10.homework;

import java.util.ArrayList;
import java.util.List;

public class HomeWork3 {
	public static void main(String[] args) {
		List<Integer> list = new ArrayList<Integer>();
		int[] a = new int[5];
		for (int i = 0; i < a.length; i++) {
			list.add(i+1);
		}
		for (int i : list) {
			System.out.println(i);
		}
	}

}
